<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
	if( !function_exists('CMF_define_constants')){
		function CMF_define_constants(){
			require_once( APPPATH . 'config/cmf.config.php');
			if( isset($config) && is_array($config)){
				foreach( $config as $key => $val){
					define(strtoupper($key), $val);
				}
			}
		}
	}
?>
